/**
 * Created by Hwa on 2017/11/20.
 */
import {http} from '../utils'

exports.initVerify = function (){
  return http({
    type:'post',
    url:'/Account/Vfy/Init',
  })
}

exports.getVerifyPicCode = function (userName,sessionId) {
  return http({
    type:'get',
    url:`/Account/Vfy/GetGph?username=${userName}&sessionId=${sessionId}`,
  })
}

exports.checkVerifyCode = function (data) {
  return http({
    type:'post',
    url:'/Account/Vfy/VfySms',
    data:data,
  })
}
